import request from '@/utils/request'

// 查询附企进耗存录入列表
export function listFq(query) {
  return request({
    url: '/jhc/fq/list',
    method: 'get',
    params: query
  })
}

// 查询附企进耗存录入详细
export function getFq(cDate) {
  return request({
    url: '/jhc/fq/' + cDate,
    method: 'get'
  })
}

// 新增附企进耗存录入
export function addFq(data) {
  return request({
    url: '/jhc/fq',
    method: 'post',
    data: data
  })
}

// 修改附企进耗存录入
export function updateFq(data) {
  return request({
    url: '/jhc/fq',
    method: 'put',
    data: data
  })
}

// 删除附企进耗存录入
export function delFq(cDate) {
  return request({
    url: '/jhc/fq/' + cDate,
    method: 'delete'
  })
}
